﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FlashCards.Model;

namespace FlashCards.WebApp.Models
{
    public class DevelopmentNewsModel
    {
        public string Title { get; set; }
        public string Message { get; set; }
        public DateTime Date { get; set; }

        public DevelopmentNewsModel(DevelopmentNews news)
        {
            Title = news.DevelopmentNewsTitle;
            Message = news.DevelopmentNewsMessage;
            Date = news.DevelopmentNewsDate;
        }
    }
}